package com.ark.cloud.java.persistence.entity;

/**
 * Copyright(c): 2021 Cloud-Ark Inc.
 * Author(s): Ma Wei (mawei@cloud-ark.com)
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 爆炸事件
 */
@Data
@TableName("explode_event")
@Builder
@AllArgsConstructor
@NoArgsConstructor

public class ExplodeEvent {

    @TableField("id")
    private Long id;
    @TableField("timestamp")
    private String timestamp;       // 时间
    @TableField("firing_id")
    private String firingId;       // 发射武器的平台id
    @TableField("target_id")
    private String targetId;       // 被攻击的目标平台id
    @TableField("munition_id")
    private String munitionId;     //	武器id

    @TableField(exist = false)
    private Vec3D pos;           // 爆炸点坐标	Vec3D	1

    @TableField("pos")
    private Long vectedId;


}
